package com.dao;

import java.util.List;
import java.util.Map;

import com.entity.MusicList;
import com.entity.Data.PagerData;
import com.entity.Query.MusicListQuery;

public interface MusicListDao {
	//查询歌单
	List<Map<String, Object>> queryMusicList();
	//根据编号查询单条数据
	Map<String, Object> queryMusicListId(int musicListId);
	//带条件的分页查询
	PagerData queryByPage(MusicListQuery musicListQuery,int curPage,int pageSize);
	
	//添加歌单信息
	int addMusicList(MusicList musicList);
	
	//修改歌单信息
	int editMusicList(MusicList musicList);
	
	//删除歌单信息
	int del(int musicListId);
}
